package com.JavaBean.Pok_Mon;

public class Money {
    private int id ;
    private String name ;
    private String password ;
    private int deposit ;

    public Money() {
    }

    public Money(int id, String name, String password, int deposit) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.deposit = deposit;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return deposit
     */
    public int getDeposit() {
        return deposit;
    }

    /**
     * 设置
     * @param deposit
     */
    public void setDeposit(int deposit) {
        this.deposit = deposit;
    }

    public String toString() {
        return "Money{id = " + id + ", name = " + name + ", password = " + password + ", deposit = " + deposit + "}";
    }
}
